package aggregate.aggregator.remote;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;


public interface AggregatorRemoteInterface extends Remote {

	List<Category> getCategories() throws RemoteException;

	void subscribe(String hostname, int categoryId) throws RemoteException;
	void addRating(int contentId, double value) throws RemoteException;
	void addComment(int contentId, Comment comment) throws RemoteException;
}
